Viscid, a vi-like screen editor written in Lucid∗
نویسنده
چکیده
In this paper we describe a full screen editor program written entirely in Lucid, a functional dataflow language. Our goal was to verify that pure nonprocedural languages can be used to program ‘realistic’ applications, including ones involving interactive I/O. The editor (which we call viscid) is similar to the vi editor of Berkeley UNIX(TM). Viscid is much simpler than vi but does handle basic features, such as inserting and deleting characters, opening and deleting lines, searching for patterns, and scrolling up and down. We give an overview of the viscid program together with a complete program for a simplified version. We discuss the techniques and methodology employed, and compare the Lucid program to a version written in Pascal. The Lucid program is about half the size of the Pascal version, more modular, and if anything easier to write. These advantages are due primarily to Lucid’s treatment of variables (time varying values) which has more in common with spreadsheet systems than with conventional imperative languages. We consider the remaining obstacles which must be overcome if nonprocedural languages are to be a practical alternative to C and Pascal.
منابع مشابه
vi . iv , a bi - directional version of the vi full - screen editor
SUMMARY This paper describes the semantics, design, and implementation of vi.iv, a bi-directional revision of vi, the standard, full-screen editor available on UNIX™ systems. The main goal was to produce the new program with as little change as possible to the semantics and implementation of the original vi.
متن کاملMark My Words
I have previously espoused this view, but it seems to your editor that medical specialties can be viewed using the lexicon of Physics. At one end of the spectrum we find Relativity (The world of the very large like my own specialty, Radiology) and at the other end, the world of the very small: Quantum Mechanics. In this edition, we consider as our review article, another of the ‘quantum’ subjec...
متن کاملThe Social Psychology of Industry
BOOKS. Z/O. This Pelican book is the latest in the excellent Pelican Psychology series and the Editor, Professor G. F. Mace, is to be congratulated on the selection of his authors. Dr. Brown has produced a survey of the vast amount of work written on this subject and manages to distil from it a clear and readable account of the important progress made and the trends which exist to further chang...
متن کاملvi . iv , a bi - directional version of the vi full - screen
SUMMARY This paper describes the semantics, design, and implementation of vi.iv, a bi-directional revision of vi, the standard, full-screen editor available on UNIX™ systems. The main goal was to produce the new program with as little change as possible to the semantics and implementation of the original vi.
متن کاملLetter of Editor-in-Chief
Dear colleagues, Welcome to the fourth issue of the Journal of Cardio-Thoracic Medicine. We are grateful that with support and cooperation of our dear colleagues, the first year of JCTM publication passed successfully. We are expecting to promote the indexing of Journal of Cardio-Thoracic Medicine in the following year. In this issue, a valuable review article has been written by Dr.Corlateanu ...
متن کامل